
// clear the GFX canvas
GFX.clear();

// creates a rectangle
rect = GFX.createRect({ x: 100, y: 100, width:100, height: 100 });

// makes it red and a bit transparent
rect.setFill([255, 0, 0, .5]);